﻿using ConfExpert.Forms.Base;
using DevTeam;
using System;

namespace ConfExpert.Forms.Ex
{
    public partial class _CC_Ceki : XForm
    {
        public _CC_Ceki()
        {
            InitializeComponent();
        }

        private void CC_Ceki_Load(object sender, EventArgs e)
        {
            
            gridView1.Init("GetCC_BarkodCeki");
            gridView1.AddColumn("LineTotal", typeof(decimal), "Price*Qty");
            gridView1.FormatAsNumber(2, "Price", "LineTotal");
            gridView1.FormatAsNumber(0, "Qty");
            gridView1.AddSummary("Qty", "LineTotal"); 
            gridView1.BestFitColumns(); 
        }
    }
}
